package com.xizhi.zomprogress.service;


import com.xizhi.zomprogress.bean.User;

import java.util.List;

/**
 *
 * @author admin
 * @date 2018/4/11
 */
public interface UserService {

    int addUser(String userName, String userImage, String invitedUser, String signedUser, String alreadyObtain);

    List<User> selectAllUsers();

//    User selectUserById(int id);
//    User selectUserByIdName(int id, String name);

    List<User> getUserByInvitedUser(String name);

    List<User> cheakRepeatUser(String userName,String invitedUser);

    List<User> getSiginUserList(String invitedUser,String signedUser);

    int diamondSign(String signedUser, int id);
}
